package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QUser is a Querydsl query type for User
 */
public class QUser extends EntityPathBase<User> {

    private static final long serialVersionUID = 477614230;

    public static final QUser user = new QUser("user");

    public final StringPath avatar = createString("avatar");

    public final DateTimePath<java.util.Date> birthday = createDateTime("birthday", java.util.Date.class);

    public final StringPath email = createString("email");

    public final BooleanPath enabled = createBoolean("enabled");

    public final StringPath fullName = createString("fullName");

    public final NumberPath<Long> hometownId = createNumber("hometownId", Long.class);

    public final SetPath<House, QHouse> houses = this.<House, QHouse>createSet("houses", House.class, QHouse.class);

    public final StringPath identifierPassport = createString("identifierPassport");

    public final SetPath<Image, QImage> images = this.<Image, QImage>createSet("images", Image.class, QImage.class);

    public final StringPath mobile = createString("mobile");

    public final StringPath note = createString("note");

    public final StringPath password = createString("password");

    public final BooleanPath status = createBoolean("status");

    public final StringPath username = createString("username");

    public final SetPath<UserRole, QUserRole> userRoles = this.<UserRole, QUserRole>createSet("userRoles", UserRole.class, QUserRole.class);

    public QUser(String variable) {
        super(User.class, forVariable(variable));
    }

    public QUser(BeanPath<? extends User> entity) {
        super(entity.getType(), entity.getMetadata());
    }

    public QUser(PathMetadata<?> metadata) {
        super(User.class, metadata);
    }

}

